package pt.iscte.poo.example.singleton;
public final class Singleton {

	private static Singleton INSTANCE;
	private static String window = null;
	
	private Singleton() {
	}

	public static Singleton getInstance() {
		if (INSTANCE == null) {
			INSTANCE = new Singleton(); 
		}
		return INSTANCE;
	}
	public static void setWindow(String window) {
		Singleton.window = window;
	}
	public static String getWindow() {
		return Singleton.window;
	}
}